<%@page import="oa.service.impl.CompanyServiceImpl" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    request.setCharacterEncoding("UTF-8");
    response.setCharacterEncoding("UTF-8");
    response.setContentType("text/html;charset=utf-8");
    CompanyServiceImpl company = new CompanyServiceImpl();
    String companygs = session.getAttribute("companyid").toString();
    if (companygs == null) {
        companygs = "0";
    } else {
        int companyid = Integer.parseInt(companygs);
        session.setAttribute("companyid", companyid);
        session.setAttribute("CompanyList", company.selectAllCompany(companyid));
    }
%>
